Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onflow/protobuf

Package Overview
Dependencies
Maintainers
8
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onflow/protobuf

Access Node Protobuf

  • 0.1.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-36.09%
Maintainers
8
Weekly downloads
 
Created
Source

@onflow/protobuf

This package contains the protobuf files used by the Flow JS SDK to communicate with the Access API.

Status

  • Last Updated: July 27th 2020
  • Stable: Yes
  • Risk of Breaking Change: High

These change when the access nodes need different data. If the access nodes introduce a breaking change this package will proxy that breaking change into the SDK and FCL. This risk is what lead us to the interaction abstraction and our send functions acting as a translation layer between the interaction and these.

Install

npm install --save @onflow/protobuf

Versioning

The version of this package reflects the version of the AccessAPI spec for which it supports.

Generating Protobuf Files

First, ensure you have protoc installed on your machine. protoc is a tool that will allow us to generate js-protobuf files. To install protoc, follow the guide available here https://grpc.io/docs/quickstart/go/#protocol-buffers (note: MacOS users can install protoc using homebrew: brew install protoc)

To generate the js-protobuf files, run the generate script in package json:

npm run generate

FAQs

Package last updated on 11 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc